<?php

if($this->httpCode)
{
    header('HTTP/1.0 '.$this->httpCode.' '.@$this->httpMessage);
}
header('Content-Type: text/xml; charset="UTF-8"');

echo '<?xml version="1.0" encoding="UTF-8" ?>'."\n"

?>

<response>
	<code><?php echo $this->code; ?></code>
	<message><?php echo utf8_encode($this->message); ?></message>
</response>